Fluent Python by Luciano Ramalho

Fluent Python by Luciano Ramalho

Author:Luciano Ramalho
Language: eng
Format: epub, mobi, azw3, pdf
ISBN: 9781491946008
Publisher: O'Reilly Media
Published: 2015-10-08T16:00:00+00:00


^

__xor__

__rxor__

__ixor__

Bitwise xor

<<

__lshift__

__rlshift__

__ilshift__

Bitwise shift left

>>

__rshift__

__rrshift__

__irshift__

Bitwise shift right

[a] pow takes an optional third argument, modulo: pow(a, b, modulo), also supported by the special methods when invoked directly (e.g., a.__pow__(b, modulo)).

[b] New in Python 3.5.

The rich comparison operators are another category of infix operators, using a slightly different set of rules. We cover them in the next main section: Rich Comparison Operators.

The following optional sidebar is about the @ operator introduced in Python 3.5—not yet released at the time of this writing.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.